package com.android.dialer.remote;

import android.content.Intent;

import com.android.Remote;
import com.android.remote.bean.RemoteBean;

public class ActivityRemote implements RemoteBean {
    /**
     * 界面路径
     */
    public String activity;
    /**
     * 携带参数
     */
    public Intent intent;

    @Override
    public String action() {
        return Remote.ACTIVITY;
    }

    @Override
    public Intent intentFormat() {
        return (intent == null ? new Intent() : intent).putExtra("activity", activity);
    }
}
